package com.atguigu.cloud.user.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.stereotype.Component;

/*@ConfigurationProperties(prefix = "server")
@Component*/

@Data
@ConfigurationProperties(prefix = "server")
public class UserProperties {
    private String port;
}
